i = 1
result = 1
while i <= 10 :
    result *= i
    i += 1
    print(result)

